package com.waitum.java.Test1;

public class Cylinder extends Circle{
	private double length;

	public double getLength() {
		return length;
	}

	public void setLength(double length) {
		this.length = length;
	}
	public Cylinder(){
		this.length=1;
	}
	public double v(){
		return s() * length;
	}
	
}
